<template>
  <div>
    <el-dialog
      v-el-drag-dialog
      title="整改项"
      :visible.sync="visible"
      width="800px"
    >
      <div>
        aaa
      </div>
    </el-dialog>
  </div>
</template>

<script>
  export default {
    name: 'warnLevel',
    data() {
      return {
        visible: false,
        temp: {}
      }
    },
    methods: {
      open(temp) {
        return new Promise(resolve => {
          this.resolve = resolve
          this.visible = true
          if (temp) {
            this.temp = Object.assign(this.temp, temp)
          }
        })
      }
    }
  }
</script>

<style lang='scss' scoped>

</style>
